home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / cug191 / delay.c < prev    next >
Text File  |  1986-05-25  |  1KB  |  30 lines

  1.  
  2. /* ------------------------------------------------------------ */
  3. /*      This is a portion of the SOUND EFFECTS LIBRARY.         */
  4. /*                                                              */
  5. /*      Copyright (C) 1986 by Paul Canniff.                     */
  6. /*      All rights reserved.                                    */
  7. /*                                                              */
  8. /*      This library has been placed into the public domain     */
  9. /*      by the author.  Use is granted for non-commercial       */
  10. /*      pusposes, or as an IMBEDDED PORTION of a commercial     */
  11. /*      product.                                                */
  12. /*                                                              */
  13. /*      Paul Canniff                                            */
  14. /*      PO Box 1056                                             */
  15. /*      Marlton, NJ 08053                                       */
  16. /*                                                              */
  17. /*      CompuServe ID: 73047,3715                               */
  18. /*                                                              */
  19. /* ------------------------------------------------------------ */
  20.  
  21. delay(n)
  22. {
  23.     register int i,j;
  24.  
  25.     while (n--)
  26.     {
  27.         for (i=0; i<250; i++) j = i * 3;
  28.     }
  29. }
  30.